package _case

import "fmt"

type Gender uint8

const (
	FEMALE Gender = iota
	MALE
	THIRD
)

const (
	B = 1 << (iota * 10)
	KB
	MB
	//GB
	_
	TB
)

func ConstCase() {
	const A = 100
	//默认推断类型
	const (
		B = 200
		C = "C"
	)
	fmt.Println(A, B, C)

	var gender Gender = MALE
	fmt.Println(gender)

	size := KB
	fmt.Println(size)
}
